<div class="container-fluid" style="page-break-before: always;">
  <div class="row-fluid">
    <div class="row-fluid ">
      <div class="span12">
        <div class="primary-head">
          <h3 class="page-header">Relatório de Produção</h3>
          <ul class="top-right-toolbar">
            <li><a href="#" class="btn-info" title="Imprimir"><i class="icon-print"></i></a></li>
          </ul>
        </div>
      </div>
    </div>
    <div class="row-fluid">
      <div class="span6">
        <?= $dados['usuario'] ? '<h3>'.$dados['linhas']['usuario'].'</h3>' : '' ?>
        <address style="font-size:16px;">
        <i class="icon-calendar"></i> <strong>Período:</strong>
        <?= $dados['dt_inicial'] ?>
        a
        <?= $dados['dt_final'] ?>
        <br>
        </address>
      </div>
      <div class="span6"> 
        <!--<div class="btn-toolbar profile-toolbar pull-right">
								<div class="btn-group">
									<button class="btn btn-inverse"><i class="icon-money"></i> Pay Now </button>
									<button class="btn btn-info"><i class="icon-print"></i> Print </button>
								</div>
							</div>--> 
      </div>
    </div>
    <!--<div class="row-fluid">
      <div class="span6" >
        <ul class="invoice-info">
          <li>
            <label>CPF</label>
            999.999.999-99</li>
          <li>
            <label>Código</label>
            0021</li>
          <li>
            <label>Matrícula</label>
            59570000</li>
          <li>
            <label>Data</label>
            04/01/2014</li>
          <li>
            <label>Orgão</label>
            INSS</li>
        </ul>
      </div>
      <div class="span6">
        <h4>Próspera</h4>
        <address>
        <strong>Atendente, Fábio.</strong><br>
        Rua teste de teste<br>
        Alecrim, Natal - RN<br>
        <i class="icon-mobile-phone"></i> (84) 9999-9999
        </address>
      </div>
    </div>--> 
  </div>
  <div class="row-fluid">
    <div class="span12">
      <h4>Contratos</h4>
      <table class="table paper-table">
        <thead>
          <tr>
            <th class="invoice-id"> Código </th>
            <th class="invoice-date">Cliente</th>
            <th class="invoice-date">Sexo</th>
            <th class="invoice-date">Bairro</th>
            <th class="invoice-date">Cidade</th>
            <th class="invoice-date">ADE/Contrato</th>
            <th class="invoice-date"> Banco</th>
            <th class="invoice-type"><span class="invoice-date">Produto</span></th>
            <th class="invoice-des">Status</th>
            <th class="invoice-des">Usuário</th>
          </tr>
        </thead>
        <tbody>
          <?= $dados['linhas']['linhas'] ?>
          <tr class="invoice-cal">
            <td colspan="9">
            	<span>Contratos</span>
                <span>Valor Parcela</span>
                <span class="amount-due">Valor Liquido</span></td>
            <td>
            	<span><?= $dados['linhas']['total_contratos'] ?></span>
                <span> R$ 00,00</span>
                <span class="amount-due">R$ 00,00</span>
            </td>
          </tr>
        </tbody>
      </table>
      <h4>Contact Center</h4>
      <table class="table paper-table">
        <thead>
          <tr>
            <th class="invoice-id"> Data </th>
            <th class="invoice-date"> Cliente </th>
            <th class="invoice-date mask_cpf"> CPF </th>
            <th class="invoice-type"><span class="invoice-date">Telefone</span></th>
            <th class="invoice-des">Contato</th>
            <th class="invoice-des">Usuário</th>
          </tr>
        </thead>
        <tbody>
          <?= $dados['linhas']['linhas2'] ?>
          <tr class="invoice-cal">
            <td colspan="5">
            	<span>Parcelas</span><span>Valor Parcela</span><span class="amount-due">Valor Liquido</span></td>
            <td><span>00</span><span> R$ 00,00</span><span class="amount-due">R$ 00,00</span></td>
          </tr>
        </tbody>
      </table>
      <h6>Notas:</h6>
      <p> . </p>
    </div>
  </div>
</div>
